/* =========================
   COOLVETICA
========================= */

@font-face {
  font-family: "Coolvetica";
  src: url("../fonts/Coolvetica UltraLight.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Coolvetica";
  src: url("../fonts/Coolvetica Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Coolvetica";
  src: url("../fonts/Coolvetica Book.otf") format("opentype");
  font-weight: 350;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Coolvetica";
  src: url("../fonts/Coolvetica Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Coolvetica";
  src: url("../fonts/Coolvetica Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Coolvetica";
  src: url("../fonts/Coolvetica Heavy.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}


/* =========================
   COOLVETICA ITALIC
========================= */

@font-face {
  font-family: "Coolvetica";
  src: url("../fonts/Coolvetica UltraLight Italic.otf") format("opentype");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Coolvetica";
  src: url("../fonts/Coolvetica Light Italic.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Coolvetica";
  src: url("../fonts/Coolvetica Book Italic.otf") format("opentype");
  font-weight: 350;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Coolvetica";
  src: url("../fonts/Coolvetica Regular Italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Coolvetica";
  src: url("../fonts/Coolvetica Bold Italic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Coolvetica";
  src: url("../fonts/Coolvetica Heavy Italic.otf") format("opentype");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}


/* =========================
   MADE OKINE SANS
========================= */

@font-face {
  font-family: "Made Okine Sans";
  src: url("../fonts/MADEOkineSansPERSONALUSE-Thin.otf") format("opentype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Made Okine Sans";
  src: url("../fonts/MADEOkineSansPERSONALUSE-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Made Okine Sans";
  src: url("../fonts/MADEOkineSansPERSONALUSE-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Made Okine Sans";
  src: url("../fonts/MADEOkineSansPERSONALUSE-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Made Okine Sans";
  src: url("../fonts/MADEOkineSansPERSONALUSE-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #050505;
  --surface: #0d0d0d;
  --text: #ffffff;
  --muted: rgba(255,255,255,0.65);
  --line: rgba(255,255,255,0.12);
  --accent: #ffffff;
  --accent-dark: #ffffff;
  --dark: #050505;
  --card: #111111;
  --radius-md: 24px;
  --radius-lg: 32px;
  --shadow: 0 24px 70px rgba(0,0,0,0.25);
}

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: "Made Okine Sans", sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.5;
      cursor: none;
    }

    .cursor-circle {
      width: 34px;
      height: 34px;
      border: 1.5px solid var(--dark);
      border-radius: 50%;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 9999;
      pointer-events: none;
      transform: translate(-50%, -50%);
      mix-blend-mode: difference;
      background: white;
      opacity: 0.85;
      transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
    }

    .cursor-circle.active {
      width: 58px;
      height: 58px;
      opacity: 0.65;
    }

    @media (hover: none) {
      body {
        cursor: auto;
      }

      .cursor-circle {
        display: none;
      }
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 100%;
      display: block;
    }

    .container {
      width: min(1160px, calc(100% - 40px));
      margin: 0 auto;
    }

    .nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background: transparent;
  border-bottom: 0;
  padding: 0;
  transition: padding 0.35s ease;
}

.nav-inner {
  width: calc(100% - 150px);
  height: 76px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  transition:
    width 0.35s ease,
    height 0.35s ease,
    padding 0.35s ease,
    background 0.35s ease,
    border 0.35s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease;
}

.nav.scrolled {
  padding: 14px 0;
}

.nav.scrolled .nav-inner {
  width: min(920px, calc(100% - 40px));
  height: 58px;
  padding: 0 22px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.22);
}

.logo-img {
  max-height: 35px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: max-height 0.35s ease;
}

.invert-logo {
  filter: invert(1);
}

.nav.scrolled .logo-img {
  max-height: 30px;
}

    .brand {
      grid-column: 2;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .star {
      width: 34px;
      height: 34px;
      background: var(--dark);
      clip-path: polygon(50% 0%, 61% 36%, 100% 50%, 61% 64%, 50% 100%, 39% 64%, 0% 50%, 39% 36%);
    }

    .nav-links {
      grid-column: 3;
      justify-self: end;
      display: flex;
      align-items: center;
      gap: 24px;
      color: rgba(255,255,255);
      font-size: 18px;
      letter-spacing: 0.05em;
      font-weight: 300;
    }

    .nav-links a {
  position: relative;
  display: inline-block;
  overflow: hidden;
  line-height: 1;
}

.nav-links a span {
  display: inline-block;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.25s ease;
}

.nav-links a::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 100%;

  color: #eca2dd;

  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover span,
.nav-links a.active span {
  transform: translateY(-115%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: translateY(-100%);
}

    .nav-role {
      font-size: 18px;
      letter-spacing: 0.05em;
      font-weight: 300;
  text-transform: uppercase;
  color: rgba(255,255,255);
  white-space: nowrap;
  grid-column: 1;
  justify-self: start;
}

    .menu-toggle {
      display: none;
      grid-column: 3;
      justify-self: end;
      width: 44px;
      height: 44px;
      padding: 0;
      background: transparent;
      border: 0;
      cursor: pointer;
      z-index: 1001;
      position: relative;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: transform 0.3s ease;
    }

    .menu-toggle span {
      display: block;
      width: 24px;
      height: 2px;
      margin: 6px auto;
      background: #fff;
      border-radius: 999px;
      transition: all 0.3s ease;
    }

    .menu-toggle:hover {
      transform: scale(1.08);
    }

    .menu-toggle:hover span {
      background: #eca2dd;
    }

    .menu-toggle:hover span:nth-child(1) {
      width: 30px;
    }

    .menu-toggle:hover span:nth-child(2) {
      width: 18px;
    }

    .menu-toggle:hover span:nth-child(3) {
      width: 30px;
    }

    .mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(236, 162, 221, 0.14), transparent 28%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08), transparent 30%),
    rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.04);
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    backdrop-filter 0.45s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}

    .mobile-close {
  position: fixed;
  top: 28px;
  right: 28px;
  z-index: 1002;

  width: 48px;
  height: 48px;

  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;

  color: white;
  font-size: 34px;
  line-height: 1;

  cursor: pointer;
}

    .mobile-menu-links {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 28px;
    }

    .mobile-menu-links a {
  font-family: "Made Okine Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(44px, 13vw, 92px);
  line-height: 0.9;
  color: #fff;

  letter-spacing: 0.055em;
  opacity: 0;
  transform: translateY(32px);

  transition:
    color 0.25s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    letter-spacing 0.35s ease,
    opacity 0.45s ease;
}

.mobile-menu-links a:hover {
  color: #eca2dd;

  transform:
    translateY(-6px)
    scale(1.12);

  letter-spacing: 0.16em;
}

.mobile-menu-links a.active {
  color: #eca2dd;
  letter-spacing: 0.16em;
}

.mobile-menu.open .mobile-menu-links a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.open .mobile-menu-links a:nth-child(1) {
  transition-delay: 0.08s;
}

.mobile-menu.open .mobile-menu-links a:nth-child(2) {
  transition-delay: 0.16s;
}

.mobile-menu.open .mobile-menu-links a:nth-child(3) {
  transition-delay: 0.24s;
}

    body.menu-open {
      overflow: hidden;
    }
    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 46px;
      padding: 0 20px;
      border-radius: 999px;
      background: var(--dark);
      color: white;
      font-weight: 650;
      font-size: 14px;
      border: 1px solid var(--dark);
      transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease, box-shadow 0.2s ease;
      will-change: transform;
      position: relative;
      overflow: hidden;
    }

    .button:hover {
      background: #2a2a2a;
      box-shadow: 0 14px 34px rgba(0,0,0,0.16);
    }

    .button::after {
      content: "";
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: rgba(255,255,255,0.18);
      position: absolute;
      top: var(--btn-y, 50%);
      left: var(--btn-x, 50%);
      transform: translate(-50%, -50%) scale(0);
      transition: transform 0.35s ease;
      pointer-events: none;
    }

    .button:hover::after {
      transform: translate(-50%, -50%) scale(4);
    }

    .button span {
      position: relative;
      z-index: 1;
    }

    .button.secondary {
      background: transparent;
      color: var(--text);
      border-color: var(--line);
    }

    .resume-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 30px;
  padding: 0 30px;
  border-radius: 999px;

  font-family: "Made Okine Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.16);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);

  position: relative;
  overflow: hidden;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  will-change: transform;
}

.resume-button:hover {
  color: #050505;
  background: rgba(236, 162, 221, 0.78);
  border-color: rgba(236, 162, 221, 0.55);
  box-shadow: 0 18px 55px rgba(236, 162, 221, 0.28);
}

.resume-button span {
  position: relative;
  z-index: 1;
  display: block;
  line-height: 1;
  padding-left: 0.08em;
  transform: translateY(1.5px);
}

    .hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      text-align: center;
      background: var(--dark);
      isolation: isolate;
    }

    .hero-video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: -2;
    }

    .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.08) 40%,
      rgba(0, 0, 0, 0.95) 100%
    );
}

    .hero-grid {
      position: relative;
      z-index: auto;
      width: 100vw;
      min-height: 100vh;
      padding: 76px 20px 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .hero-content {
  width: min(980px, 92vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  position: relative;
  top: -45px;
}

    .hero-heading-wrap {
      width: 100%;
      display: flex;
      justify-content: center;
      text-align: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px;
      border: 1px solid var(--line);
      border-radius: 999px;
      color: var(--muted);
      font-size: 13px;
      margin-bottom: 24px;
    }

    .dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent);
    }

    .header-img {
      width: min(920px, 88vw);
      height: auto;
      display: block;
      margin: 0 auto;

      /* Makes the white header react/invert against the video behind it */
      filter: brightness(0) invert(1);
      mix-blend-mode: difference;

      position: relative;
      z-index: 1;

      transition: transform 0.28s ease;
      will-change: transform;
    }

    .hero-copy {
  color: rgba(255, 255, 255, 0.78);
  font-family: "Coolvetica", sans-serif;
  font-size: clamp(18px, 3vw, 40px);
  font-style: italic;
  letter-spacing: 0.05em;
  font-weight: 300;
  max-width: 1000px;
  margin: 26px auto 0;
}

.hero-copy .word {
  display: inline-block;
  white-space: nowrap;
  transition:
    transform 0.18s cubic-bezier(0.2, 0.9, 0.2, 1),
    color 0.18s linear,
    letter-spacing 0.18s linear;
  will-change: transform;
}

.hero-copy .word.strong {
  font-weight: 350;
}

.scroll-down {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  z-index: 3;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;

  color: rgba(255, 255, 255, 0.78);
  font-family: "Coolvetica";
  font-style: italic;
  font-size: 18px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.15em;

  pointer-events: none;
}

.scroll-arrow {
  width: 32px;
  height: 32px;
  line-height: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  animation: scrollArrow 1.5s ease-in-out infinite;
}

.scroll-arrow svg {
  width: 32px;
  height: 32px;
  display: block;
}

@keyframes scrollArrow {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.7;
  }

  50% {
    transform: translateY(10px);
    opacity: 1;
  }
}

    .logo-strip {
  width: 100%;
  overflow: hidden;
  background: #000;
  color: white;
  border: none;
  padding: clamp(40px, 6vw, 150px) 0 40px; /* control strip height */
  white-space: nowrap;
}

    .logo-track {
      display: inline-flex;
      align-items: center;
      gap: 0;
      animation: scrollStrip 26s linear infinite;
      padding-right: 0;
    }

    /* .logo-strip:hover .logo-track {
      animation-play-state: paused;
    } */

    .strip-item {
      display: inline-flex;
      align-items: center;
      gap: 26px;
      padding-right: 26px;
      font-family: "Coolvetica";
      font-size: clamp(40px, 4.5vw, 95px);
      font-weight: 400;
      letter-spacing: 0.02em;
      opacity: 0.95;
    }


    .strip-main {
      font-family: "Coolvetica", sans-serif;
      font-weight: 400;
      font-style: italic;
    }

    .strip-sub {
      font-family: "Coolvetica", sans-serif;
      font-weight: 350;
      font-style: normal;
    }

    .strip-star {
      width: 32px;
      height: 32px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 32px;
    }

    .strip-star::before {
      content: "✦";
      line-height: 1;
      font-size: 32px;
      color: #d234b1;
    }

    

    @keyframes scrollStrip {
      from {
        transform: translateX(0);
      }
      to {
        transform: translateX(-50%);
      }
    }


    .showcase-section {
  background: #000;
  min-height: clamp(600px, 72vw, 800px);
  padding: clamp(10px, 10vw, 210px) 0 clamp(10px, 10vw, 210px);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.showcase-container {
  width: min(1480px, calc(100% - 48px));
  margin: 0 auto;
}

.scroll-reveal-text {
  width: 100%;
  max-width: none;

  color: rgba(255, 255, 255, 0.18);
  font-family: "Coolvetica", sans-serif;
  font-size: clamp(38px, 5.8vw, 86px);
  font-weight: 350;
  font-style: normal;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

    .whoami-container {
      text-align: left;
    }

    .whoami-kicker {
      color: rgba(255, 255, 255, 0.88);
      font-family: "Made Okine Sans", sans-serif;
      font-size: clamp(15px, 1vw, 18px);
      font-weight: 300;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: clamp(34px, 5vw, 35px);
    }

    .whoami-copy h2 {
      color: #ffffff;
      font-family: "Coolvetica", sans-serif;
      font-size: clamp(56px, 7vw, 116px);
      font-weight: 400;
      font-style: italic;
      line-height: 0.9;
      letter-spacing: 0.01em;
      margin-bottom: clamp(18px, 2.2vw, 38px);

      padding-top: 0.08em;
  padding-right: 0.08em;
  overflow: visible;
    }

    .scroll-reveal-text .reveal-word {
      color: rgba(255, 255, 255, 0.18);
      transition: color 0.22s linear, opacity 0.22s linear;
    }

    .scroll-reveal-text .reveal-word.is-visible {
      color: rgba(255, 255, 255, 0.96);
    }

    .bonjour-gradient {
  display: inline;

  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #e25ac7 100%
  );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
  -webkit-text-fill-color: transparent;

  padding-top: 0.04em;
  padding-right: 0.08em;
}

    /* =========================
       STACKED PORTFOLIO PREVIEW
    ========================= */

    .portfolio-stack {
      position: relative;
      height: 400vh;
      background: #000;
      overflow: clip;
    }

    .portfolio-stack-inner {
      position: sticky;
      top: 0;
      min-height: 100vh;
      width: 100%;
      margin: 0;
      padding: 0;
      display: grid;
      grid-template-columns: minmax(240px, 29vw) 1fr;
      align-items: stretch;
      gap: 0;
    }

    .portfolio-stack-copy {
      max-width: 650px; /*control the spacing between text and preview box / text space -- increase the text box area*/
      align-self: center;
      padding-left: clamp(20px, 3.4vw, 58px);
      padding-right: clamp(16px, 1.5vw, 34px);
      transition:
        opacity 0.28s ease,
        transform 0.28s ease;

        transform: translateY(-40px); /*vertical position of the text section*/
    }

    .portfolio-stack-copy.is-switching {
      opacity: 0;
      transform: translateY(14px);
    }

    .portfolio-stack-label {
      font-family: "Made Okine Sans", sans-serif;
      font-size: clamp(15px, 1vw, 18px);
      font-weight: 300;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.88);
      margin-bottom: 18px;
    }

    .portfolio-stack-title {
  font-family: "Coolvetica", sans-serif;
  font-size: clamp(32px, 3vw, 71px);
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #fff;
  margin-bottom: 22px;
}


.portfolio-gradient-word {
  display: inline;

  font-family: "Coolvetica", sans-serif;
  font-style: normal;
  font-weight: 400;

  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #e25ac7 100%
  );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;

  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

    .portfolio-stack-desc {
      color: rgba(255, 255, 255,0.95);
      font-size: clamp(13px, 1.1vw, 20px);
      font-weight: 300;
      line-height: 1.55;
      margin-bottom: 28px;
    }

    .portfolio-stack-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: clamp(38px, 2.8vw, 44px);
  padding: 0 clamp(18px, 2vw, 24px);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.88);
  color: #050505;

  font-size: clamp(11px, 1vw, 16px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.05em;
  white-space: nowrap;

  position: relative;
  overflow: hidden;

  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.25s ease,
    color 0.25s ease;

  will-change: transform;
}

    .portfolio-stack-button:hover {
      background: #eca2dd;
      color: #050505;
    }

    .portfolio-stack-button span {
      position: relative;
      z-index: 1;
      display: block;
  line-height: 1;
  transform: translateY(1px);
    }

    .portfolio-visual-stage {
      position: relative;
      width: 100%;
      height: 100vh;
      min-height: 100vh;
      padding: clamp(58px, 7vh, 88px) clamp(18px, 2vw, 36px) clamp(36px, 5vh, 62px) 0;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: visible;
    }

    .portfolio-panel {
      position: absolute;
      width: min(100%, calc((100vh - 124px) * 1.5));
      aspect-ratio: 3 / 2;
      height: auto;
      border-radius: clamp(18px, 1.8vw, 30px);
      background:
        radial-gradient(circle at 22% 18%, rgba(236, 162, 221, 0.18), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(210, 210, 210, 0.95));
      border: 1px solid rgba(255, 255, 255, 0.18);
      box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
      overflow: hidden;
      opacity: 0;
      transform: translate(0, 38px) scale(0.96);
      transition:
        opacity 0.45s ease,
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.35s ease;
    }

    /* Keep invisible / behind stacked panels from blocking carousel arrow clicks */
    .portfolio-panel {
      pointer-events: none;
    }

    .portfolio-panel.is-active {
      pointer-events: auto;
    }

    .portfolio-panel-image-wrap,
    .portfolio-image-track,
    .portfolio-panel-image {
      pointer-events: none;
    }

    .portfolio-panel-image-wrap {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      overflow: hidden;
    }

    .portfolio-image-track {
      display: flex;
      width: 100%;
      height: 100%;
      transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
      will-change: transform;
    }

    .portfolio-panel-image {
      flex: 0 0 100%;
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .portfolio-panel.has-image::before,
    .portfolio-panel.has-image::after,
    .portfolio-panel.has-image .portfolio-panel-dot {
      display: none;
    }

    .portfolio-image-dots {
      position: absolute;
      left: 50%;
      bottom: clamp(14px, 2vw, 24px);
      z-index: 8;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transform: translateX(-50%);
      pointer-events: none;
    }

    .portfolio-image-dot {
      width: 8px;
      height: 8px;
      padding: 0;
      border: 0;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.42);
      transition:
        width 0.25s ease,
        background 0.25s ease;
      pointer-events: none;
    }

    .portfolio-image-dot.is-active {
      width: 22px;
      background: rgba(255, 255, 255, 0.92);
    }

    .portfolio-carousel-arrow {
      position: absolute;
      top: 50%;
      z-index: 20;

      width: 44px;
      height: 44px;
      padding: 0;
      margin: 0;
      box-sizing: border-box;

      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.16);
      background: rgba(0, 0, 0, 0.18);
      color: rgba(255, 255, 255, 0.76);

      display: flex;
      align-items: center;
      justify-content: center;

      font-family: Arial, sans-serif;
      font-size: 34px;
      line-height: 1;

      cursor: pointer;
      pointer-events: auto;
      user-select: none;
      -webkit-appearance: none;
      appearance: none;

      opacity: 0.55;
      transform: translateY(-50%);

      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);

      transition:
        background 0.25s ease,
        color 0.25s ease,
        opacity 0.25s ease,
        border-color 0.25s ease,
        backdrop-filter 0.25s ease,
        transform 0.25s ease;
    }

    .portfolio-carousel-arrow span {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
      line-height: 1;
      pointer-events: none;
      transform: translateY(-3px);
    }

    .portfolio-carousel-arrow-prev {
      left: 18px;
    }

    .portfolio-carousel-arrow-next {
      right: 18px;
    }

    .portfolio-carousel-arrow:hover,
    .portfolio-carousel-arrow:focus-visible {
      color: rgba(255, 255, 255, 1);
      background: rgba(0, 0, 0, 0.52);
      border-color: rgba(255, 255, 255, 0.28);
      opacity: 1;
      outline: none;
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      transform: translateY(-50%) scale(1.08);
    }

    .portfolio-panel.is-visible {
      opacity: 1;
    }

    .portfolio-panel.is-past {
      transform: translate(20px, -20px) scale(0.985);
      filter: brightness(0.72);
    }

    .portfolio-panel.is-active {
      transform: translate(0, 0) scale(1);
      filter: brightness(1);
    }

    .portfolio-panel::before,
    .portfolio-panel::after {
      content: "";
      position: absolute;
      left: 28px;
      right: 28px;
      height: 12px;
      border-radius: 999px;
      background: rgba(5, 5, 5, 0.16);
    }

    .portfolio-panel::before {
      top: 28px;
      width: 34%;
      right: auto;
    }

    .portfolio-panel::after {
      bottom: 28px;
    }

    .portfolio-panel-dot {
      position: absolute;
      top: 50%;
      left: 64%;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: rgba(5, 5, 5, 0.7);
      transform: translate(-50%, -50%);
    }

    .portfolio-panel:nth-child(2) {
      background:
        radial-gradient(circle at 80% 22%, rgba(236, 162, 221, 0.2), transparent 32%),
        linear-gradient(135deg, rgba(236, 236, 236, 0.95), rgba(198, 198, 198, 0.95));
    }

    .portfolio-panel:nth-child(3) {
      background:
        radial-gradient(circle at 24% 80%, rgba(236, 162, 221, 0.18), transparent 30%),
        linear-gradient(135deg, rgba(246, 246, 246, 0.94), rgba(208, 208, 208, 0.95));
    }

    .portfolio-panel:nth-child(4) {
      background:
        radial-gradient(circle at 78% 72%, rgba(236, 162, 221, 0.2), transparent 32%),
        linear-gradient(135deg, rgba(230, 230, 230, 0.95), rgba(255, 255, 255, 0.9));
    }

    .portfolio-stack-steps {
      position: absolute;
      inset: 0;
      pointer-events: none;
    }

    .portfolio-stack-step {
      height: 100vh;
    }

    @media (max-width: 1279px) {
      .portfolio-stack-inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
      }

      .portfolio-stack-copy {
        max-width: none;
        align-self: start;
        padding: 96px 28px 28px;
      }

      .portfolio-stack-label {
        margin-bottom: 23px;
      }

      .portfolio-stack-title {
    font-size: clamp(37px, 9.4vw, 67px);
    line-height: 1.1;
    margin-bottom: 16px;
  }

      .portfolio-stack-desc {
        max-width: 620px;
        font-size: clamp(15px, 2.2vw, 17px);
        line-height: 1.5;
        margin-bottom: 22px;
      }

      .portfolio-stack-button {
        min-height: 42px;
        padding: 0 22px;
        font-size: 13px;
      }

      .portfolio-visual-stage {
        height: calc(100vh - 280px);
        min-height: 420px;
        padding: 0 28px 48px;
      }

      .portfolio-panel {
        width: min(100%, 780px);
        aspect-ratio: 3 / 2;
      }
    }

    @media (max-width: 1279px) and (min-width: 521px) {
  .portfolio-stack-inner {
    grid-template-rows: auto auto;
    align-content: center;
    gap: 22px;
  }

  .portfolio-stack-copy {
    padding: 86px 30px 0;
  }

  .portfolio-stack-title {
    font-size: clamp(38px, 8vw, 62px);
    line-height: 1.1;
    margin-bottom: 12px;
  }

  .portfolio-stack-desc {
    max-width: 1000px;
    margin-bottom: 18px;
  }

  .portfolio-visual-stage {
    height: auto;
    min-height: 0;

    /* control the whole showcase width here */
    width: min(calc(100% - 60px), clamp(620px, 90vw, 1200px));

    margin: 0 auto;
    padding: 0 0 40px;

    position: relative;
  }

  .portfolio-panel {
    position: relative;
    width: 100%;
    margin: 0;
  }

  .portfolio-panel:not(.is-active) {
    position: absolute;
    top: 0;
    left: 0;
  }
}

@media (max-width: 520px) {
  .portfolio-stack-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    align-content: center;
    gap: 18px;
    min-height: 100vh;
  }

  .portfolio-stack-copy {
    max-width: none;
    align-self: start;
    padding: 84px 18px 0;
  }

  .portfolio-stack-label {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .portfolio-stack-title {
    font-size: clamp(35px, 11.5vw, 50px);
    line-height: 1.1;
    margin-bottom: 10px;
  }

  .portfolio-stack-desc {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.42;
    margin-bottom: 16px;
  }

  .portfolio-stack-button {
    min-height: 38px;
    padding: 0 18px;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .portfolio-stack-button span {
    display: block;
    line-height: 1;
    transform: translateY(1px);
  }

  .portfolio-visual-stage {
  height: auto;
  min-height: 0;

  /* controls the whole preview size */
  width: min(calc(100% - 36px), 620px);

  margin: 0 auto;
  padding: 0 0 48px;

  position: relative;
}

.portfolio-panel {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  margin: 0;
}

.portfolio-panel:not(.is-active) {
  position: absolute;
  top: 0;
  left: 0;
}

  .portfolio-carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 28px;
  }

  .portfolio-carousel-arrow-prev {
    left: 10px;
  }

  .portfolio-carousel-arrow-next {
    right: 10px;
  }

  .portfolio-image-dots {
    bottom: 12px;
  }

}

/* =========================
   TECH STACK SECTION
========================= */

.section-label {
  display: inline-block;
  margin-bottom: 1px;
  font-family: "Made Okine Sans", sans-serif;
  font-size: clamp(15px, 1vw, 18px);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.88);
}

.tech-stack-section {
  width: 100%;
  background: #000;
  padding: clamp(120px, 13vw, 220px) 0 clamp(135px, 13vw, 245px);
  overflow: hidden;
}

.tech-stack-header {
  width: 100%;
  margin: 0 0 clamp(54px, 6vw, 85px);
  padding: 0 clamp(24px, 8vw, 120px);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  gap: clamp(16px, 2vw, 26px);
}

.tech-stack-header h2 {
  font-family: "Coolvetica", sans-serif;
  font-size: clamp(55px, 4vw, 85px);
  font-weight: 400;
  font-style: normal;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: #fff;
  margin: 0;
}

.tech-stack-intro {
  width: min(100%, 1000px);
  max-width: calc(100vw - clamp(35px, 1.5vw, 180px));
  justify-self: center;
}

.tech-stack-intro p {
  width: 100%;
  max-width: inherit;
  margin: 0 auto;

  font-family: "Made Okine Sans", sans-serif;
  font-size: clamp(18px, 1.6vw, 25px);
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.88);
}

.tech-stack-marquee {
  width: 100vw;
  overflow: hidden;
}

.tech-stack-track {
  display: inline-flex;
  align-items: center;
  gap: clamp(46px, 6vw, 110px);
  padding-left: clamp(32px, 7vw, 120px);

  /* animation: techStackScroll 34s linear infinite; */
  will-change: transform;
}

.tech-card {
  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  width: auto;
  height: auto;
  padding: 0;

  background: transparent;
  border-radius: 0;
  box-shadow: none;

  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.25s ease;
}

.tech-card img {
  width: auto;
  height: auto;

  /* control logo size here */
  max-height: clamp(56px, 6vw, 92px);
  max-width: clamp(120px, 8vw, 300px);

  object-fit: contain;
  display: block;
}

.tech-card:hover {
  transform: none;
  filter: none;
}

@keyframes techStackScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 870px) {
  .tech-stack-header {
    padding: 0 24px;
    gap: 18px;
    text-align: center;
  }

  .tech-stack-intro {
    max-width: 100%;
  }

  .tech-stack-intro p {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.45;
  }

  .tech-stack-track {
    gap: clamp(42px, 7vw, 72px);
    padding-left: clamp(24px, 5vw, 48px);
  }

  .tech-card {
    width: auto;
    height: auto;
    padding: 0;
  }

  .tech-card img {
    max-height: clamp(56px, 8vw, 70px);
    max-width: clamp(120px, 10vw, 250px);
  }
}

@media (max-width: 520px) {
  .tech-stack-section {
    padding: 130px 0 150px;
  }

  .tech-stack-header {
    padding: 0 16px;
    margin-bottom: 42px;
  }

  .tech-stack-track {
    gap: clamp(34px, 9vw, 48px);
    padding-left: 22px;
  }

  .tech-card img {
    max-height: 56px;
    max-width: 120px;
  }
}

/* =========================
   SOFT SKILLS SECTION
========================= */

.soft-skills-section {
  width: 100%;
  background: #000;
  padding: clamp(80px, 12vw, 180px) 0 clamp(100px, 14vw, 200px);
  overflow: hidden;
}

/* wider paragraph margins */
.soft-skills-container {
  width: min(100%, calc(100% - clamp(120px, 18vw, 360px)));
  margin: 0 auto;
}

.soft-skills-container .section-label {
  margin-bottom: clamp(28px, 4vw, 52px);
}

.soft-skills-text {
  width: 100%;
  max-width: none;

  font-family: "Coolvetica", sans-serif;
  font-size: clamp(44px, 7vw, 118px);
  font-weight: 350;
  line-height: 1.15;
  letter-spacing: 0.005em;

  color: rgba(255, 255, 255, 0.96);
  overflow: visible;
}

/* Word wrapper: animation only, no flip/rotation */
.soft-skills-text .soft-word {
  display: inline-block;
  vertical-align: baseline;
  line-height: inherit;
  overflow: visible;

  transform: translateY(0.24em) scale(0.96);
  opacity: 0;
  filter: blur(5px);

  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease,
    filter 0.55s ease;

  will-change: transform, opacity, filter;
}

/* Revealed state: all words land on the same baseline */
.soft-skills-text .soft-word.is-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
  filter: blur(0);
}

/* Inner word: visual styling only */
.soft-skills-text .soft-word-inner {
  display: inline-block;
  line-height: inherit;
  vertical-align: baseline;
  overflow: visible;
}

/* Highlighted words */
.soft-skills-text .soft-highlight .soft-word-inner {
  font-style: normal;
  font-weight: 400;

  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #e25ac7 100%
  );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
  -webkit-text-fill-color: transparent;

  /*
    Gives gradient letters extra room on the right/bottom
    without changing the baseline or making the lines wonky.
  */
  padding: 0 0.075em 0.045em 0.015em;
  margin: 0 -0.055em 0 -0.01em;

  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Tablet */
@media (max-width: 1529px) {
  .soft-skills-section {
    padding: 80px 0 120px;
  }

  .soft-skills-container {
    width: calc(100% - 96px);
  }

  .soft-skills-text {
    font-size: clamp(42px, 10vw, 86px);
    line-height: 1.15;
  }
}

/* Mobile */
@media (max-width: 520px) {
  .soft-skills-section {
    padding: 80px 0 120px;
  }

  .soft-skills-container {
    width: calc(100% - 40px);
  }

  .soft-skills-container .section-label {
    margin-bottom: 26px;
  }

  .soft-skills-text {
    font-size: clamp(38px, 12vw, 58px);
    line-height: 1.16;
  }

  .soft-skills-text .soft-highlight .soft-word-inner {
    padding-right: 0.09em;
    margin-right: -0.065em;
  }
}

/* Contact */
.contact-footer-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #000;
  padding-bottom: clamp(20px, 1.5vw, 40px);
}

.contact-footer-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -4;
  background: url("../images/footer.jpg") center bottom / cover no-repeat;
}

.contact-footer-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      #000 0%,
      #000 16%,
      rgba(0, 0, 0, 0.92) 28%,
      rgba(0, 0, 0, 0.55) 58%,
      rgba(0, 0, 0, 0.18) 100%
    );
}

.contact-glass-panel {
  position: absolute;
  inset: clamp(24px, 3vw, 46px) clamp(16px, 2vw, 28px) clamp(18px, 2vw, 28px);
  z-index: -2;
  border-radius: clamp(24px, 3vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 72% 34%, rgba(236, 162, 221, 0.20), transparent 36%),
    rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  pointer-events: none;
}

/* stardust layer */
.footer-stardust-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.95;

  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0) 8%,
    rgba(0, 0, 0, 1) 28%,
    rgba(0, 0, 0, 1) 100%
  );

  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0) 8%,
    rgba(0, 0, 0, 1) 28%,
    rgba(0, 0, 0, 1) 100%
  );
}

.connect-section {
  position: relative;
  width: min(1160px, calc(100% - 40px));
  min-height: clamp(440px, 48vw, 650px);
  margin: 0 auto;
  padding: clamp(200px, 10vw, 245px) 0 clamp(200px, 10vw, 650px);

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.connect-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.connect-content h2 {
  font-family: "Coolvetica", sans-serif;
  font-size: clamp(46px, 5vw, 82px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: #fff;
  margin-bottom: clamp(20px, 2.4vw, 34px);
}

.connect-title-word {
  display: inline-block;
  white-space: nowrap;
  transition:
    transform 0.18s cubic-bezier(0.2, 0.9, 0.2, 1),
    color 0.18s linear,
    letter-spacing 0.18s linear;
  will-change: transform;
}

.connect-title-gradient {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #e25ac7 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.connect-content p {
  max-width: 520px;
  margin: 0 auto clamp(28px, 3vw, 46px);
  color: rgba(255, 255, 255, 0.88);
  font-family: "Made Okine Sans", sans-serif;
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

@media (min-width: 861px) {
  .connect-content {
    width: min(860px, 100%);
  }

  .connect-content p {
    max-width: 850px;
  }
}

@media (max-width: 570px) {
  .connect-content p {
    max-width: 450px;
  }
}

.connect-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.connect-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(42px, 3.4vw, 54px);
  padding: 0 clamp(22px, 2.4vw, 34px);
  border-radius: 999px;

  font-family: "Made Okine Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  position: relative;
  overflow: hidden;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  will-change: transform;
}

.connect-button.primary {
  background: white;
  color: #050505;
  border: 1px solid white;
}

.connect-button.secondary {
  background: rgba(0, 0, 0, 0.08);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.connect-button:hover {
  background: rgba(236, 162, 221, 0.78);
  border-color: rgba(236, 162, 221, 0.55);
  color: #050505;
  box-shadow: 0 18px 55px rgba(236, 162, 221, 0.28);
}

.connect-button span {
  position: relative;
  z-index: 1;
  display: block;
  line-height: 1;
  padding-left: 0.08em;
  transform: translateY(1.5px);
}

@media (max-width: 860px) {
  .showcase-section {
    min-height: clamp(680px, 105vw, 860px);
    padding: clamp(120px, 18vw, 170px) 0 clamp(10px, 10vw, 200px);
  }

  .showcase-container {
    width: calc(100% - 48px);
  }

  .whoami-kicker {
    margin-bottom: 30px;
  }

  .whoami-copy h2 {
    font-size: clamp(58px, 15vw, 96px);
    margin-bottom: clamp(18px, 5vw, 34px);
  }

  .scroll-reveal-text {
    font-size: clamp(36px, 9.5vw, 68px);
    line-height: 1.1;
  }
}

@media (max-width: 520px) {
  .showcase-section {
    min-height: 760px;
    padding: 120px 0 clamp(65px, 10vw, 150px);
  }

  .showcase-container {
    width: calc(100% - 32px);
  }

  .contact-glass-panel {
    inset: 16px 12px 16px;
    border-radius: 24px;
  }

  .connect-section {
  min-height: 50vh;
  padding: clamp(135px, 15vw, 230px) 0 clamp(150px, 10vw, 600px);
}

  .connect-actions {
    gap: 12px;
  }

  .connect-button {
    min-height: 42px;
    padding: 0 22px;
  }

  .whoami-kicker {
    font-size: 13px;
    margin-bottom: 26px;
  }

  .whoami-copy h2 {
    font-size: clamp(54px, 18vw, 76px);
    margin-bottom: 22px;
  }

  .scroll-reveal-text {
    font-size: clamp(35px, 9vw, 52px);
    line-height: 1.1;
  }
}

    footer {
  width: 100%;
  padding: 0;
  color: rgba(255, 255, 255);
  font-family: "Made Okine Sans", sans-serif;
  font-size: clamp(15px, 3.8vw, 18px);
  font-weight: 300;
  letter-spacing: 0.05em;
  /* text-transform: uppercase; */
}

.footer-inner {
  width: calc(100% - 150px);
  min-height: 76px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 15px;

  border-top: 1px solid var(--line);
}

.footer-left {
  justify-self: start;
}

.footer-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 76px);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 4vw, 50px);
}

/* Same reveal-up hover animation as nav links */
.footer-links a {
  position: relative;
  display: inline-block;
  overflow: hidden;
  line-height: 1.1;
  color: rgba(255, 255, 255);
}

.footer-links a span {
  display: inline-block;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.25s ease;
}

.footer-links a::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 100%;

  color: #eca2dd;

  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-links a:hover span {
  transform: translateY(-115%);
}

.footer-links a:hover::after {
  transform: translateY(-100%);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  color: rgba(255, 255, 255, 0.78);
  line-height: 1;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.back-to-top svg {
  width: 28px;
  height: 28px;
  display: block;
}

.back-to-top:hover {
  color: #eca2dd;
  transform: translateY(-4px);
}

@media (max-width: 960px) {
  .footer-inner {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
    padding: 24px 0;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    justify-self: center;
  }

  .footer-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 28px;
  }
}

@media (max-width: 520px) {
  .footer-inner {
    width: calc(100% - 32px);
    min-height: auto;
    padding: 28px 0;

    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    text-align: center;
  }

  .footer-left {
    justify-self: center;
  }

  .footer-right {
    width: 100%;
    justify-self: center;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    gap: 18px;
  }

  .footer-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    flex-wrap: nowrap;
    gap: clamp(12px, 1.5vw, 30px);
  }

  .footer-links a {
    font-size: clamp(13px, 3.5vw, 16px);
    white-space: nowrap;
  }

  .back-to-top {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
  }
  
  .back-to-top svg {
    width: 25px;
    height: 25px;
  }
}

    @media (max-width: 960px) {
      .nav-inner {
        width: calc(100% - 40px);
      }

      .nav-role {
        display: none;
      }

      .nav-links {
        display: none;
      }

      .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
      }

      .menu-toggle span {
        width: 24px;
        height: 1.5px;
        margin: 4px auto;
      }

      .brand {
        grid-column: 2;
      }

      .nav.scrolled .nav-inner {
        width: min(420px, calc(100% - 32px));
      }
    }

    

    @media (max-width: 520px) {
      .container {
        width: min(100% - 24px, 1160px);
      }

      .button {
        width: 100%;
      }

      .footer-inner {
        flex-direction: column;
      }
    }

    @media (max-width: 650px) {
      footer .footer-links {
        width: min(100%, 420px);
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
      }
    
      footer .footer-links a {
        min-height: 50px;
        padding: 13px 10px;
        font-size: clamp(15px, 3.8vw, 18px);
        line-height: 1.1;
      }
    
      footer .copyright,
      footer .footer-copyright,
      footer .copyright-line,
      footer .footer-bottom,
      footer .footer-note,
      .copyright,
      .footer-copyright,
      .copyright-line {
        font-size: clamp(15px, 1.15vw, 18px) !important;
        line-height: 1.35 !important;
      }

      footer .footer-links a,
  footer .footer-links a:hover,
  footer .footer-links a:active,
  footer .footer-links a:focus {
    transform: none !important;
    letter-spacing: 0.04em !important;
  }

  footer .footer-links a span,
  footer .footer-links a:hover span {
    transform: none !important;
    transition: none !important;
  }

  footer .footer-links a::before,
  footer .footer-links a::after {
    content: none !important;
    display: none !important;
  }

    }
